﻿{$header}
<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">编辑入库详情 [ <a href="__URL__">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/update/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >入库单号：</td>
	<td class="tLeft" >
            {$vo.enter_id|getModelName=Enter,enter_no}  &nbsp;&nbsp; 仓库:{$vo.enter_id|getModelName=Enter,warehouse_id|getModelName=Warehouse}
            
        </td>
</tr>
<tr>
	<td class="tRight" >经办人：</td>
	<td class="tLeft" >
            {$vo.enter_id|getModelName=Enter,user_id|getModelName=User}&nbsp;&nbsp; &nbsp;&nbsp;创建时间：{$vo.create_time|toDate}
        </td>
</tr>
<tr>
	<td class="tRight" >备注:</td>
	<td class="tLeft" >
            {$vo.enter_id|getModelName='Enter',remark}
        </td>
</tr>
<tr>
	<td class="tRight" >产品：</td>
	<td class="tLeft" >
            {$vo.product_id|getModelName=Product}
        </td>
</tr>
<tr>
	<td class="tRight" >生产批号：</td>
	<td class="tLeft" >
            <input type="text" value="{$vo.lot}" name="lot">
        </td>
</tr>
<load href="__PUBLIC__/Js/My97DatePicker/WdatePicker.js" />
<tr>
	<td class="tRight" >截止有效期：</td>
	<td class="tLeft" >
            <input type="text" value="{$vo.exp}" name="exp" onClick="WdatePicker()">
        </td>
</tr>
<tr>
	<td class="tRight" >数量：</td>
	<td class="tLeft" >
            <input type="text" value="{$vo.number}" name="number"> &nbsp;{$vo.product_id|getProductUnit}
        </td>
</tr>
<tr>
	<td class="tRight" >进价：</td>
	<td class="tLeft" >
            <input type="text" class="input-small" name="enter_price" value="{$vo.enter_price}">元
        </td>
</tr>
<tr>
	<td class="tRight" >总金额：</td>
	<td class="tLeft" > {$vo.total} 元</td>
</tr>
<tr>
	<td class="tRight" >供应商：</td>
	<td class="tLeft" >
            <input type="hidden" name="supplier_id" value="{$vo.supplier_id}">{$vo.supplier_id|getModelName=Supplier}
        </td>
</tr>
<tr>
	<td></td>
	<td class="center" width="300">
        <input type="hidden" value="{$vo.id}" name="id">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<button type="reset" onclick="javascript:history.back()" class="btn btn-primary offset1"><i class="icon-arrow-left icon-white"></i> 返回</button>
	</td>
</tr>
</table>
</form>
</div>
</div>

